package pers.twf.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import pers.twf.example.common.model.User;
import pers.twf.example.common.service.UserService;
import pers.twf.twfRpc.bootstrap.ConsumerBootstrap;
import pers.twf.twfRpc.proxy.ServiceProxyFactory;
import pers.twf.twfrpc.springboot.starter.annotation.EnableRpc;

/**
 * 消费者启动类
 */
@SpringBootApplication
@EnableRpc(needServer = false)
public class SpringBootConsumerExample {
    public static void main(String[] args) {

        SpringApplication.run(SpringBootConsumerExample.class, args);
    }
}
